package com.fare.taluo.application;

import java.io.OutputStream;
import java.util.Date;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;




public interface CaptureDataExportApplication {
	
	/**
	 * 根据抓取时间和抓取网站名称查询抓取的数据并导出excel
	 * @param response 
	 * @param request
	 * @param grapDate 抓取时间
	 * @param channels 网站名称 
	 * */
	public void exportExcel(HttpServletResponse response,HttpServletRequest request,String grapDate,String channels)throws Exception;
	
	
	/**
	 * 根据时间和抓取渠道生成excel
	 * @param date
	 * @param code
	 */
	public String exportExcelByTime(Date date,String code,String fileName)throws Exception;
	
}
